#if !USE_CONSOLE

#ifndef RAY_TEST_PANEL_H
#define RAY_TEST_PANEL_H

#include <QWidget>
#include <QtGui>

#include "src/scene/ray.h"

class RayTestPanel : public QWidget {
	Q_OBJECT

    public:
        RayTestPanel(QWidget * = 0);
        ~RayTestPanel();

    signals:
        void test(Ray);

    private slots:
        void accept();
        void changeOriginX(double);
        void changeOriginY(double);
        void changeOriginZ(double);
        void changeDirectionX(double);
        void changeDirectionY(double);
        void changeDirectionZ(double);

    private:
        double originX, originY, originZ, directionX, directionY, directionZ;
};

#endif
#endif //!USE_CONSOLE
